package Basepractice.P2017_11_4;

/**
 * Created by Administrator on 2017/11/4.
 */
public class Continue {
    public static void main(String[] args) {
        int n=0,i,num=0;
        for (i=1;i<=50;i++){
            num=(int)(Math.random()*100);

            System.out.println("num="+num);
            if (num%5==0){
                n=n+1;
                continue;
            }
            System.out.println(num+"不能被5整除！！");
        }
        System.out.println("50个随机数中能被5整除得数的个数="+n);
    }
}
